/**
 * The Footbar global namespace
 * @class Footbar.Notes
 * @static
 */

if (typeof Footbar == "undefined") {
    Footbar = {};
}

Footbar.NotesService={
    panelState:1,

/**
 * InitalizeService
 */
    init: function() {
      
        alert(Footbar.Plugins.init());

        var engine = Footbar.Plugins.getActiveEngine();
        alert("\n Engine="+ engine);
    },
/**
 * Collapse/Expand notes editor
 */
    collapse:function(){
        var panelContainer=document.getElementById('trucoderNotesPanelContainer');
        var panel=document.getElementById('trucoderNotesPanel');
        panelContainer.setAttribute("flex", (this.panelState==1)?0:1);
        panel.style.display=(this.panelState==1)?"none":"";
        this.panelState=(this.panelState==1)?0:1;
    },
/**
 * Exit notes panel
 */
    exit:function(){
		
    }
}